-
Re: Determine whether a font file is OpenType format or TrueType format
Depends on what you want to do with that information, you can either check the first four bytes or check the presence of CFF or CFF2 tables vs. glyf & loca tables.3 -
Re: Kerning glyphs with negative sidebearings in initial/final position
I had similar issue with several Arabic letters, what I did is instead space the glyphs for line boundary situation, and kern them with other Arabic characters as needed. This is more cumbersome, but…3 -
Re: Double-width glyphs in monospace fonts
You can add width to glyphs using GPOS single adjustment as well, and that is a trick some monospace fonts do already to handle non-spacing marks while keeping all glyphs strictly mono width.6 -
Re: u+00af and u+02c9
AFAIK, HarfBuzz and Uniscribe enforces zero-width for mark glyphs (either based on GDEF glyph classes or Unicode character properties, depends on the script IIRC), but Core Text does not enforce it, …2 -
Re: [OTVar] Baseline curvature axis?
It would be complex in cursive scripts like Arabic (which would benefit most from such axes) as one would need to change the curvature of the horizontal stems as well.1